package com.jali.crud.service;

import com.jali.crud.bean.JaTask;
import com.jali.crud.dao.JaTaskMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jali
 * @create 2019-01-23 15:36
 */
@Service
public class JaTaskService {

    @Autowired
    JaTaskMapper jaTaskMapper;

    public List<JaTask> getJaTaskByUserId(String userId){
        return jaTaskMapper.getJaTaskByUserId(userId);
    }

}
